//
//  JCTextUtil.m
//  JCPublicKit-Objc
//
//  Created by JasonLee on 2020/4/24.
//

#import "JCTextUtil.h"

@implementation JCTextUtil

+ (BOOL)isEmpty:(NSString * _Nullable)string {
    
    if (string == nil) {
        return YES;
    }
    
    if ([string isEqual:[NSNull null]]) {
        return YES;
    }
    
    if ([string isEqualToString:@""] || string.length <= 0) {
        return YES;
    }
    
    return NO;
}

@end
